package com.cssl.openFeign;

import com.cssl.domain.dto.AddComment;
import com.cssl.domain.dto.DtsCommentDto;
import com.cssl.domain.vo.DtsCommentVO;
import com.cssl.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(value = "DtsShopProvider9090",path = "/comment",contextId = "47")
public interface DtsCommentFeignClient {
    @PostMapping("/getUserComment")
     Result getUserComment(@RequestBody DtsCommentDto dto);

    @PostMapping("/addComment")
     Result addComment(@RequestBody AddComment comment);

    @PostMapping("/getCommentVOGoodsList")
    Result getCommentVOGoodsList(@RequestBody DtsCommentVO comment);

    @PostMapping("/deleteComment")
    Result deleteComment(@RequestBody Integer id);

}
